home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / prog_bas / easynet.zip / FORM1.FRM (.txt) < prev    next >
Visual Basic Form  |  1994-06-16  |  20KB  |  564 lines

  1. Form1
  2.     DEMONET 1
  3. Form15)
  4. EasyNet
  5. MS Sans Serif
  6.     CMDialog1
  7. CommonDialog
  8. Etiquette1
  9. MS Sans Serif
  10. &File
  11. NewMenu
  12. OpenMenu
  13. &Open...
  14. SaveMenu
  15. &Save
  16. SaveAsMenu
  17. Save &As...
  18. SEPARATOR8
  19.         PrintMenu
  20.     &Print...
  21. SEPARATOR1
  22. ExitMenu
  23. &Exit
  24. EditMenu
  25. &Edit
  26. CopyMenu
  27. &Copy
  28. DeleteMenu
  29. &Delete
  30. SEPARATOR2
  31. SelectAllMenu
  32. Select &All
  33. SEPARATOR5
  34. SelectModeMenu
  35. &Select Mode
  36. DrawMenu
  37. &Draw
  38.     Rectangle
  39. &Rectangle
  40. EllipseMenu
  41. &Ellipse
  42. SEPARATOR3
  43. NodeColorMenu
  44. &Fill Color...
  45. DrawColorMenu
  46. &Draw color...
  47. NaviguateMenu
  48.     &Navigate
  49. Exercice1Menu
  50. $Change current node &out links color
  51. Exercice2Menu
  52. &Makes a node be &destination of others
  53. Exercice3Menu
  54. Give each node a &number
  55. InfoMenu
  56. &Info
  57.     AboutMenu
  58.     &About...
  59. NodeFillColor_ClickR
  60. CC_RGBINIT
  61.     CMDialog1
  62. Color
  63. NodeFillColor
  64. Flags
  65. Action
  66. @    Form_Load
  67. Form_Resize
  68. windowstate
  69. ScaleHeight
  70. Visible
  71. Leftw
  72. Height
  73. Width/
  74. ScaleWidth
  75. Net1_ClickNode
  76. idnode
  77. Open_Click
  78. OFN_OVERWRITEPROMPT
  79. OFN_SHOWHELP
  80. OFN_CREATEPROMPT
  81. Filename~
  82. DefaultExt<
  83. FilterO
  84. Openfile9
  85. LinkColor_Click
  86.     LinkColor
  87. Net1_DblClick
  88. OldStr
  89. NewStr.
  90. GetNodeTexti
  91. SetNodeText
  92. Exit_Click\
  93. SelectAll_Click
  94.     SelectAll
  95.     Cut_Click
  96. Copy_Click
  97. Copyq
  98. Paste_ClickS
  99. Paste
  100. Delete_Click<
  101.     New_Click
  102. NodeLeft
  103. NodeTop)
  104.     NodeRight
  105. NodeBottom
  106. SaveAs_Click
  107. Save_Click
  108.     printNet1*
  109. curItemf
  110. CurrentItemH
  111. Net1_ChangeB
  112. Net1_SelChangev
  113. Net1_ClickLink
  114. idLink
  115. TypeItem
  116. Ellipse_Click
  117. Shape
  118.     NodeShapeq
  119. RoundRect_Click
  120. Rectangle_Click
  121. Net1_ClickOut$
  122. idItem
  123. Net1_DragOver4
  124. Source
  125. control
  126. StateT
  127. Net2_ClickNode
  128. Net2_SelChange
  129. Net1_MouseUp
  130. Button
  131. Shift
  132. itemId
  133. itemType.
  134.     FirstNode
  135. NextNode
  136. Node 
  137. SaveFileP
  138. EnrNode5
  139. NodeRecord
  140. X1Net1V
  141.     FillColorV
  142. NodeBorderColor
  143. BorderColord
  144. NodeText
  145. TextF
  146. Label
  147. Lengthe
  148. FileHeader
  149.     NodeCount
  150. GetNodeCount
  151.     LinkCount
  152. GetLinkCount
  153. GetCountNodeY
  154.     CountNode
  155.     GetNbNode
  156. GetNumberbNode
  157. GetNodesCount
  158. TextLengthI
  159. NextLink&
  160.     FirstLink
  161. LinkRecord
  162. SrcNode
  163. DstNode
  164.     LinkWidthX
  165. LinkSrcNode
  166. LinkDstNode
  167. offsete
  168. GetNodeIndex
  169. nodeId9
  170. nNbNode
  171. PointCount
  172. LinkPointCountG
  173. Changed
  174. FirstLinkPoint
  175. NextLinkPoint
  176.     LinkPoint
  177. NodeBorderColor_Click
  178. Destination
  179. Origin
  180. NoShape_Click
  181. Bitmap_Clickr
  182. Picture
  183. Image1B
  184. Edit_Click
  185. PointTabU
  186.     FillStyle
  187. EditActionC    
  188. File_ClickP    
  189.     ShapeNode
  190. Net1_Click
  191. ThenNet1r
  192. Image2
  193. Image3
  194. SelNodeCount
  195. SelFirstNode|
  196.     Asinteger
  197. FirstSelNodet
  198. NextSelNode
  199. LinkedNode
  200. NodeLink
  201. LoopType
  202.     LoopCount
  203. LoopItem
  204. LoopAction
  205. Net1_AddNode
  206.     Clipboard
  207. Metafilet    @
  208. SelectModeMenu_Clicke    
  209. Mode(    
  210. SelectionMode6    
  211. SelectMode
  212.     NodeColor
  213.     DrawColor"
  214.     DrawWidth
  215. draw=
  216. Color_Click
  217. DrawColor_Click
  218. PersistentL
  219. FontMenu_Click
  220. FontName
  221. FontSize
  222. FontUnderline
  223. FontItalic$
  224. FontBold
  225. IsLink
  226. LoopAc4
  227. About
  228. countD
  229. AddPoint
  230. CenDrawNodeMenu_Click
  231. CanDrawNode0
  232.     FalseelseQ
  233. CanDrawNodeMenu_Click
  234. ReadOnlyMenu_Click
  235. ReadOnly
  236. MiscMenu_Click\
  237. Net1_ErrSpace
  238. Oriented
  239. Net1_AddLinkx
  240. PointXg
  241. PointY6
  242. value
  243. Form_QueryUnload
  244. Cancel
  245. UnloadMode
  246. Response
  247. FState
  248. Dirty
  249. Caption
  250. frmMDI[
  251. GetFileName
  252. SaveFileAsF
  253. FilenamefrmMDI
  254. QueryUnload
  255. IfEnd
  256. Form_Unloadz
  257. Form28
  258. FormK
  259. Form1
  260. notNet1
  261. Draw_Click
  262. Form_PaintY
  263. Option_Click(
  264. DefFillColor
  265. DefDrawColor
  266. DefShapew
  267.     BackColor
  268. nbnode
  269. nblink
  270.     memoriser
  271. tableauC
  272. elected
  273. nodes
  274. array
  275. Exercice1Menu_Click%
  276. CopyMenu_ClickK
  277. DeleteMenu_ClickG
  278. EllipseMenu_Click4
  279. DrawColorMenu_Click{
  280. RoundRectMenu_ClickX
  281. SelectAllMenu_Clickf
  282. NodeFillColorMenu_Click}
  283. NoShapeMenu_Click
  284. Exercice2Menu_Click.
  285. Exercice3Menu_Click3
  286. Exercice4Menu_Clickg
  287. linkType
  288. Exercice5Menu_Click"
  289. Etiquette1
  290. SelectModeMenue
  291. Checked
  292. AboutMenu_Click
  293. moMenu_Click
  294. WinExec
  295. SW_SHOWMINIMIZED6
  296. DemoMenu_Click
  297. SendMessages
  298. GetActiveWindow
  299. WM_COMMAND
  300. InvisibleMenu_Click$
  301. NodeColorMenu_Click
  302. MousePointerW
  303. CanSizeNodeMenu_Clickp
  304. CanSizeNode
  305. CanSizeNodeMenu%
  306. ReadOnlyMenu
  307. CanMoveNodemenu_Clickf
  308. CanMoveNode
  309. CanMoveNodeMenu
  310. CanStretchLinkMenu_Click
  311. CanStretchLinkMenu
  312. CanStretchLink
  313. CanMultiLinkMenu_Click
  314. CanMultiLinkp
  315. CanMultiLinkMenu,
  316. Net1CanMoveNode
  317. MultiSelectionMenu_Click
  318. MultiSelectionMenu
  319. MultiSelZ
  320. Enabled
  321. CanDrawNodeMenu
  322. CanDrawLinkMenu_Click-
  323. CanDrawLinkJ
  324. CanDrawLinkMenu
  325. NewMenu_Click4
  326. OpenMenu_Click
  327. SaveMenu_Clickc
  328. SaveAsMenu_Click9
  329. ExitMenu_Clicko
  330. EndDemo
  331. Show1
  332. ItemTextj
  333. MultiSelectioni
  334. DefReadOnly
  335. DefMultiSelection
  336. DefCanSizeNode
  337. DefCanMoveNode
  338. DefCanStretchLink
  339. DefCanMultiLink
  340. DefCanDrawNodeW
  341. DefCanDrawLinkU
  342. DefMultiSel
  343. InitMenu@
  344. BitmapMenu_Click
  345. number
  346. orgNum
  347. DstNum
  348. demo|
  349. DemoMenu
  350. EndDemoMenu_Clickt
  351. UseMenu_Click
  352. Command1_Click
  353. ButtonMenu_Click
  354. Command1
  355. Picture1
  356. allows7
  357. graphs
  358. interactively
  359. forms
  360. graph@
  361. thatB
  362. linked
  363. change
  364. style]
  365. sizeG
  366. position
  367.     associate
  368. navigate
  369. INFO1z
  370. INFO2
  371. INFO3
  372. INFO4
  373. INFO5[
  374. StartDemoMenu_Click
  375. EndDemoMenu5
  376. Command2_ClickS
  377. Command2
  378. FeaturesMenu_Click+
  379. flase
  380. Picture1_Click
  381. UseMenu
  382. RedrawMenu_Click
  383. dessinS
  384. NetCtrl
  385. PrintMenu_Clickv
  386. DessinForm
  387. nbpoint
  388. ptx2@
  389. radius
  390.     ForeColor
  391. CurrentX
  392. CurrentY*
  393. printer
  394. endodc.
  395.     BeginPage
  396. EndPage
  397.     NumCopies
  398. CancelError
  399. Errhandler
  400. FromPager
  401. ToPage
  402. Copies
  403. Net1X1
  404. @    PrintFile
  405. StopSleep_Click
  406. Sleeping
  407. StartSleep_Click
  408. Net1_KeyDown
  409. KeyCode
  410. KeyCXode
  411. KEY_DELETE
  412. SolidMenu_Click
  413.     DrawStyle4
  414. DotMenu_Click
  415. DashMenu_Click
  416. KET_DOWN
  417. WM_VSCROLL]
  418. LB_LINEDOWN%
  419. KEY_DOWN
  420. x0115
  421. KEY_UP
  422.     SB_LINEUP
  423. SB_LINEDOWN
  424. WM_HSCROLL
  425. KEY_LEFT
  426.     KEY_RIGHT
  427. SB_PAGEDOWN
  428.     SB_PAGEUP
  429. KEY_NEXT
  430.     KEY_PRIOR
  431. BannerZ
  432. Net1_StartResize
  433. DefMousePointerL
  434. Net1_StartLinkn
  435. Net1_StartStretch
  436. Net2_Click{
  437. Net2_StartResize
  438.     direction
  439. Net1_StartMove
  440. Net1_StartNothing
  441. Net1_OverArea
  442. slect
  443. Case1
  444. case2
  445. Case3
  446. Case4
  447. Net1_MouseMove
  448. PointedAreah
  449. AboutMenu_Click
  450. CopyMenu_Click
  451. DeleteMenu_Click
  452. DrawColorMenu_Click
  453. Set initial color selection for dialog
  454. Display color dialog
  455. Set the new default border color
  456. EllipseMenu_Click
  457.  Set default node shape to be ellipsoidd
  458. Exercice1Menu_Click
  459.  Exercise: makes color of all "out" links of all selected nodes to be red.
  460.  Two LoopAction cannnot be cascaded so you have first to memorize the 
  461.  selected nodes in an array in order to work with them.o
  462.  Selected nodes loop
  463.  If no selected nodes, nothing to do
  464.  Memorize selected nodes in a dynamic array.
  465.  For each node of our array...
  466.  ... makes it be the current item in order to be able to
  467.  work with it.
  468.  Do a node links Loop
  469.  For each link of the current node....
  470. ... if this link is an "out" linke
  471.  ... changes its color  
  472.  Don't forget to delete the arrayn
  473. Exercice2Menu_Click
  474.  Exercise: draw a link betweeen each node and current oneu
  475.  First save current item
  476.  If current item is 0 or is not a node then quit
  477.  Destination noden
  478.  Nodes loopn
  479.  Restore current item
  480. Exercice3Menu_Click
  481.  Exercise: give each node a number and each link a couple of numbers
  482.  First save current item
  483.  Do a nodes loop
  484.  Count of nodes involved in that loopo
  485.  Do a links loop
  486.  Count of nodes involved in that loopo
  487.  Restore current itemt
  488. ExitMenu_Click
  489. Form_Load
  490. Drawing mode
  491. Form_QueryUnload
  492. Form_Resize
  493. GetFileName
  494. Display file open dialog
  495. Net Files(*.NET)|*.net|All Files(*.*)|*.*|
  496. Select a file and open it
  497. Net1_AddLink
  498.  Save current link
  499.  Get destination node type
  500.  Restore current linkp
  501.  Decide that link type is the same as its destination node type.
  502. Net1_AddNode
  503.  Avoid too small nodes
  504.  Decide that node type is the same as its shape
  505. Net1_Change
  506. Net1_DblClick
  507. Enter item text:
  508. ITEM TEXT
  509. Net1_KeyDown
  510. Net1_MouseMove
  511. NewMenu_Click
  512. NodeColorMenu_Click
  513. Set initial color selection for dialog
  514. Display color dialog
  515. Set the new default fill color
  516. Openfile
  517. Header
  518. List of nodes
  519. List of link
  520. Create a link between SrcNode and dstNoder
  521. Point
  522. OpenMenu_Click
  523. PrintFile
  524.  Nodes loop
  525.  Ellipse
  526.  Rectangle
  527.  Links loop@
  528. Number of extra points
  529. Alocate an array of nbpoint + 2r
  530. First point (intersection between origin node border and link)
  531.  Normal extra points
  532. Last point (intersection between dest. node border and link)
  533.  Draw all link segments
  534. Get point arrows
  535. Draw arrow
  536. PrintMenu_Click
  537. Display print dialogboxD
  538.  First save current item
  539.  Restore current item
  540. QueryUnload
  541.  Message box
  542. The graph in [
  543. ] has changed.
  544. Do you want to save the changes?
  545. Get the filename to save the filei
  546. If the user did not specify a file name,
  547. cancel the unload; otherwise, save it.
  548.  Cancelc
  549. Rectangle_Click
  550.  Set default node shape to be rectangularr
  551. SaveAsMenu_Click
  552. Display file open dialog
  553. Net Files(*.NET)|*.net|All Files(*.*)|*.*|
  554. Select a file
  555. SaveFile
  556. Header
  557. List of nodes
  558. List of links
  559. SaveMenu_Click
  560. SelectAllMenu_Click
  561. SelectModeMenu_Click
  562. Selection mode
  563. Drawing mode
  564.